package cn.itsource.hrm.clinet;

import cn.itsource.hrm.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author jinhui
 * @version V1.0.0
 * @date 2020/6/4
 */
@FeignClient(name = "PAGE-SERVICE")
public interface StaticPageClient {

    @PostMapping("/staticPage")
    AjaxResult staticPage(@RequestParam("fileId") String fileId, @RequestBody Map<String, Object> data);


}
